package two_xia.ex5.Demo04;

public class KFCWaiter {
    private MealBuilder mb;

    public KFCWaiter(MealBuilder mb) {
        this.mb = mb;
    }

    public Meal construct() {
        mb.buildFood();//主食
        mb.buildDrink();//饮料
        return mb.getMeal();//返回套餐
    }
}